Q3Quaternion_SetRotateX
You can use theQ3Quaternion_SetRotateX
function to configure a quaternion that rotates objects around the x axis.
TQ3Quaternion *Q3Quaternion_SetRotateX ( TQ3Quaternion *quaternion, float angle);
quaternion
- A quaternion.
angle
- The desired angle of rotation around the x coordinate axis, in radians.
DESCRIPTION
TheQ3Quaternion_SetRotateX
function returns, as its function result and in thequaternion
parameter, a quaternion that rotates an object by the angleangle
around the x axis.